package com.ophiux.cs.application.user.dto;

import com.ophiux.cs.application.core.RequestDTO;
import com.ophiux.cs.application.core.Throws.ParamException;
import com.ophiux.utils.common.StringUtil;

public class addUserInfoRequest extends RequestDTO{

	private String PHONE;//	Y	String	联系电话
	private String USER_PWD;//	Y	String 	登录密码

	
	public String getPHONE() {
		return PHONE;
	}
	public void setPHONE(String pHONE) {
		PHONE = pHONE;
	}
	public String getUSER_PWD() {
		return USER_PWD;
	}
	public void setUSER_PWD(String uSER_PWD) {
		USER_PWD = uSER_PWD;
	}

	public void paramVer() throws ParamException{
		if(StringUtil.isEmpty(this.PHONE)) {
			throw new ParamException("电话号码不可为空");
		}
		if(StringUtil.isEmpty(this.USER_PWD)) {
			throw new ParamException("登录密码不可为空");
		}
	}

	@Override
	public boolean isParamValid() {
		// TODO Auto-generated method stub
		return false;
	}

}
